
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title am-fl">USDT地址</div>
				</div>
				<div class="widget-body am-fr">
					<form class="am-form tpl-form-line-form">
						<div class="am-form-group"style="margin: 20px 0px;">
							<label class="am-u-sm-3 am-form-label"style="padding: 0px;">USDT地址：</label>
							<div class="am-u-sm-9">
								<div style="width: 100%" class="tpl-table-black-operation">
									
									<input class="am-form-group" style="float: left;width: 30%" value="{$user.eth}" id="biao1" type="text"/>
									<button type="button" style="float: left;width: 10%" class="am-btn am-btn-primary am-btn-xs" onClick="copyUrl2()" value="点击复制代码" >复制</button>
								</div>
							</div>
						</div>
						<div class="am-form-group">
							<label class="am-u-sm-3 am-form-label">USDT地址：</label>
							<div class="am-u-sm-9">
								<input type="text" id="usdt" style="width: 30%;" placeholder="请输入USDT地址">
							</div>
						</div>
						
						<div class="am-form-group">
							<label class="am-u-sm-3 am-form-label">输入验证码：</label>
							<div class="am-u-sm-9">
								<input type="text"style="width: 30%;" id="captcha"  placeholder="请输入验证码">
							</div>
							<span class="button">
								<input class="am-btn am-btn-warning" type="button" name="btn" id="changeStyle" value="获取验证码"  onclick="settime(this);" style=" margin:20px 0 0 27%; background: #eaa410;cursor: pointer"/>
							</span>
						</div>
						<div class="am-form-group">
							<div class="am-u-sm-9 am-u-sm-push-3">
								<button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success" id="eth" style="width: 20%;" >修改</button>

							</div>
						</div>
						<div class="am-form-group" style="color: #f93d3d; font-size: 20px;">
							<label class="am-u-sm-3 am-form-label">郑重提示：</label>
							<div class="am-u-sm-9">
								此地址仅用于USDT的转账，其他币种的转账请勿使用。由此造成的损失自己承担。
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">  

//倒计时  
var countdown=60;  
function settime(val) {  
if (countdown == 0) {  
val.removeAttribute("disabled");  
val.value="获取验证码";  
countdown = 60;  
return false;  
} else {  
val.setAttribute("disabled", true);  
val.value="重新发送(" + countdown + ")";  
countdown--;  
}  
setTimeout(function() {  
settime(val);  
},1000);  
};
//复制
function copyUrl2()
{
var Url2=document.getElementById("biao1");
Url2.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("已复制好，可贴粘。");
}
</script> 

